package com.lyf.design.learn.designmodel.facade.test;

/**
 * @AUTHOR LYF
 * @DATE 2022/6/8
 * @VERSION 1.0
 * @DESC
 */
public class EmployeeFacade {
    HrDepartment hrDepartment= new HrDepartment();
    TechDepartment techDepartment = new TechDepartment();

    boolean register(Employee employee){
        return hrDepartment.register(employee);
    }
    boolean requireEquipment(Employee employee){
        return techDepartment.requireEquipment(employee);
    }

}
